<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <script src="./index.js"></script>
    <style>
      .wrap {
        width: 400px;
        margin: 100px auto;
        position: relative;
        overflow: hidden;
      }
      .wrap ul {
        width: 1600px;
        height: 200px;
        display: flex;
      }
      .wrap ul li {
        width: 400px;
        height: 200px;
        List-style-type:none
      }

      .wrap ul li img {
        width: 100%;
        height: 100%;
      }
      .circle-box {
        display: flex;
        position: absolute;
        justify-content: center;
        bottom: 10px;
        width: 100%;
      }
      .circle {
        width: 20px;
        height: 20px;
        margin: 0 5px;
        border-radius: 50%;
        border: 1px solid red;
      }
      .circle.selected {
        border-image: #fff;
        background-color: red;
      }
      .arrow {
        position: absolute;
        bottom: 20px;
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
      }
      .arrow span {
        display: inline-block;
        width: 80px;
        height: 50px;
        line-height: 30px;
        text-align: center;
        color: #fff;
        background-color: rgba(0, 0, 0, 0.5);
        border-radius: 5px;
        cursor: pointer;
      }
      .left {
        margin-right: 10px;
      }
      .right {

        margin-left: 10px;  

  
      }
    </style>
  </head>
  <body>
    <div class="wrap">
      <ul>
        <li>
          <img src="./images/1.png" alt="" />
        </li>
        <li>
          <img src="./images/2.png" alt="" />
        </li>
        <li>
          <img src="./images/3.png" alt="" />
        </li>
        <li>
          <img src="./images/4.png" alt="" />
        </li>
      </ul>
      <div class="circle-box">
        <div class="circle"></div>
        <div class="circle"></div>
        <div class="circle"></div>
        <div class="circle"></div>
      </div>

      <div class="arrow">
        <span class="left">上一张</span>
        <span class="right">下一张</span>
      </div>
    </div>
  </body>
</html>
